function AmbientLight(hex) {
  THREE.AmbientLight.call(this, hex)
}

AmbientLight.prototype = Object.create(THREE.AmbientLight.prototype)
AmbientLight.prototype.update = update

function update() {
  for (var i = 0; i < this.children.length; i++) {
    this.children[i].update()
  }
}
